module.exports = {
  devServer: {
    port: 8081,
    proxy: {
      "/api": {
        target: "https://elm.cangdu.org",
        pathRewrite: { "^/api": "" },
        changeOrigin: true,
      },
      "/location": {
        target: "http://pv.sohu.com/",
        pathRewrite: { "^/location": "" },
        changeOrigin: true,
      },
    },
  },
};
